﻿<Window x:Class="Mayhem.ConfigWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:src="clr-namespace:MayhemWpf.UserControls;assembly=MayhemWpf"
        Title="ConfigWindow" Height="300" Width="300" Loaded="Window_Loaded"
        WindowStyle="None" ResizeMode="NoResize" BorderThickness="2" WindowStartupLocation="CenterOwner" SizeToContent="WidthAndHeight" ShowInTaskbar="False" >
    <Grid>
        <StackPanel Style="{StaticResource BackgroundGradient}">
            <src:WindowHeader x:Name="windowHeader" />
            <src:Borders Margin="0,10,0,20">
                <StackPanel>
                    <ContentPresenter Name="ConfigContent">
                    </ContentPresenter>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,10,0,0">
                        <Button Name="buttonSave" Click="Button_Save_Click" Height="30" Width="60">Save</Button>
                        <Button Click="Button_Cancel_Click" Height="30" Width="60" Margin="10,0,0,0">Cancel</Button>
                    </StackPanel>
                </StackPanel>
            </src:Borders>
        </StackPanel>
    </Grid>
</Window>
